﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary
{
    public class UserObject
    {
        public List<Marker> MarkerList{ get; set; }

        public List<string> Categories{ get; set; }

        public string FTPServer { get; set; }
        public string Login { get; set; }
        public string MDP { get; set; } //TODO : encrypt
        public string Server_RootFolder { get; set; }

        public string PicturesLibrary { get; set; }

        public void setParameters()
        {
            Parameters.Values.FTPServer = FTPServer;
            Parameters.Values.Login = Login;
            Parameters.Values.MDP = MDP;
            Parameters.Values.ServerRootFolder = Server_RootFolder;

            Parameters.Values.MarkerList = MarkerList;
            Parameters.Values.Categories = Categories;

            Parameters.Values.localPath_picturesLibrary = PicturesLibrary;
        }

        public void getParameters()
        {
            FTPServer = Parameters.Values.FTPServer;
            Login = Parameters.Values.Login;
            MDP = Parameters.Values.MDP;
            Server_RootFolder = Parameters.Values.ServerRootFolder;

            MarkerList = Parameters.Values.MarkerList;
            Categories = Parameters.Values.Categories;

            PicturesLibrary = Parameters.Values.localPath_picturesLibrary;
        }
    }
}
